commit | 7d1d0a946598685dd2635b2208d1dfea33190004 | [log] [tgz] |
---|---|---|
author | Android Build Coastguard Worker <android-build-coastguard-worker@google.com> | Wed Feb 16 01:12:51 2022 +0000 |
committer | Android Build Coastguard Worker <android-build-coastguard-worker@google.com> | Wed Feb 16 01:12:51 2022 +0000 |
tree | ee2d0182d9611b11c7d1e2229bce499e812480f3 | |
parent | 046d35db06dec26c759b92b7d8de38a979d84c0b [diff] | |
parent | 9f0bad686d0e7517a28c3992cd768f9111ff276f [diff] |
Snap for 8188146 from 9f0bad686d0e7517a28c3992cd768f9111ff276f to tm-frc-media-release Change-Id: I1ff0857ac8ea829889e5bb214ac7c7f9fe78691f
Foreign Function Interface for Python calling C code. Please see the Documentation or uncompiled in the doc/ subdirectory.
To run tests under CPython, run::
pip install pytest # if you don't have py.test already pip install pycparser python setup.py build_ext -f -i py.test c/ testing/
If you run in another directory (either the tests or another program), you should use the environment variable PYTHONPATH=/path
to point to the location that contains the _cffi_backend.so
just compiled.